//基本返回类型
export interface ResponseData {
  success: boolean;
  code: string;
  message: string;
}
//竞赛列表
export interface competitionList extends ResponseData {
  data: {
    navigatepageNums: number[];
    hasNextPage: boolean;
    competitions: competition[];
    hasPreviousPage: boolean;
  };
}
//单个竞赛项
export interface competition {
  id: number;
  title: string;
  coverImage: string;
  competitionTime: string;
  registrationDeadline: string;
  viewCount: number;
  createUsername: string;
  createUser: string;
  createTime: string;
  content: string;
}

//竞赛信息上传请求体
export interface competitionType {
	id: number
	title: string
	coverImage: string
	competitionTime:string
	registrationDeadline:any
	content: string
  }

	/**
 * 获取竞赛列表
 */
export interface getCompetitionInfo {
  pageNum?: number;
  pageSize?: number;
}

  